﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;

namespace Mikroyardim
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!string.IsNullOrEmpty(Request.Url.ToString()))
            {
                if (Request.Url.ToString().ToLower().IndexOf("ofisboss.com") > -1)
                {
                    HtmlControl iframe = (HtmlControl)this.FindControl("iframemap");
                    iframe.Attributes["src"] = "http://b2b.mikroyardim.com/default.aspx";

                    //Response.Redirect("http://b2b.mikroyardim.com/default.aspx");
                }
            }
        }
    }
}